﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Custom.Master" CodeBehind="Default.aspx.cs"
    Inherits="Things.Web.OrderPlan.Default" %>

<%@ Register src="../Components/TopSaledList.ascx" tagname="TopSaledList" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
.tableStyle
{
    margin-top:20px;
    margin-bottom:20px;
}
</style>
    <table width="716" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <table width="973" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <img src="../style/images/yj1.jpg" width="972" height="15" />
            </td>
        </tr>
    </table>
    <table width="972"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top" bgcolor="#FFFFFF">
                
                
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="center">
                            <img src="../style/images/banner-2.jpg" width="941" height="156" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table width="972" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10" bgcolor="#FFFFFF">
            </td>
        </tr>
    </table>
    <table width="972" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="222" align="center" valign="top" bgcolor="#FFFFFF">
                <table width="193" height="29" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="17" bgcolor="#5ED401">
                            &nbsp;
                        </td>
                        <td width="176" align="left" bgcolor="#5ED401" class="td2">
                            本周订购排行榜
                        </td>
                    </tr>
                </table>
                <table width="193" height="262" border="0" cellpadding="0" cellspacing="0" class="tdx">
                    <tr>
                        <td align="center" valign="top">
                            
                            <uc1:TopSaledList ID="TopSaledList1" runat="server" />
                            
                        </td>
                    </tr>
                </table>
            </td>
            <td width="756" bgcolor="#FFFFFF" style=" vertical-align:top;">

            <table width="764" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="768"><img id="Img1" src="~/style/images/gcdm.jpg" width="764" height="44" runat="server" /></td>
      </tr>
    </table>
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="4" CssClass="ggdm1">
                    <ItemTemplate>
                        <div>
                            <table width="125" height="110" border="0" cellpadding="0" cellspacing="0" class="tab5">
                                <tr>
                                    <td width="139" height="119">
                                        <a href="<%# "./SelectSet.aspx?goodsID="+ Eval("GoodsID")%>">
                                            <img src="<%# Eval("GoodsImageURL") %>" width="160" height="160" border="0" /></a>
                                    </td>
                                </tr>
                            </table>
                            <table width="160" height="28" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td height="25" colspan="2" align="left">
                                        <a href="<%# "./SelectSet.aspx?goodsID="+ Eval("GoodsID")%>" class="a6">
                                            <%# Eval("GoodsName") %></a>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="80" height="25" align="left" class="td8">
                                       最低价格: 
                                    </td>
                                    <td width="80" align="left" class="td8">
                                       <asp:Label ID="Label2" runat="server" Text='<%# GetLowestPrice(Eval("GoodsID").ToString()) %>'></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
</asp:Content>
